<script setup lang="ts">

import {useRouter} from "vue-router";

const router = useRouter();
</script>
<template>
  <n-result
      flex h-full justify-center flex-col items-center
      status="403"
      title="403 无权限"
      description="当前用户无权限访问，请联系管理员"
  >
    <template #footer>
      <n-space>
        <n-button secondary type="primary" @click="router.go(-1)">后退</n-button>
        <n-button secondary type="info" @click="router.replace('/')">主页</n-button>
      </n-space>
    </template>
  </n-result>
</template>
<style scoped>
</style>
